package com.wtwd.device.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.wtwd.device.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "心率值列表对象",description = "")
public class HeartRateList extends BaseEntity {
    @TableId(value = "id",type = IdType.AUTO)
    @ApiModelProperty("心率值列表主键id")
    private Long id;

    @ApiModelProperty("心率类型 1-高心率 2-低心率 3-运动心率")
    private Byte type;

    @ApiModelProperty("心率值")
    private Byte heartRate;

    @ApiModelProperty("是否推荐 0-不推荐 1-推荐")
    private Byte recommend;

    public HeartRateList() {
    }


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Byte getType() {
        return type;
    }

    public void setType(Byte type) {
        this.type = type;
    }

    public Byte getHeartRate() {
        return heartRate;
    }

    public void setHeartRate(Byte heartRate) {
        this.heartRate = heartRate;
    }

    public Byte getRecommend() {
        return recommend;
    }

    public void setRecommend(Byte recommend) {
        this.recommend = recommend;
    }

    @Override
    public String toString() {
        return "HeartRateList{" +
                "id=" + id +
                ", type=" + type +
                ", heartRate=" + heartRate +
                ", recommend=" + recommend +
                '}';
    }
}
